package com.qf.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zdl
 * @date 2025/3/14
 */
@Data
public class EmployeeListVO {
    private int id;
    @ExcelProperty(value = "姓名",index = 0)
    private String name;
    @ExcelProperty(value = "性别",index = 1)
    private String sex;
    @ExcelProperty(value = "年龄",index = 2)
    private int age;
    @ExcelProperty(value = "住址",index = 3)
    private String address;
    @ExcelProperty(value = "面试岗位",index = 4)
    private String post;
    @ExcelProperty(value = "面试时间",index = 5)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    @ExcelProperty(value = "描述",index = 6)
    private String description;
    @ExcelProperty(value = "建议薪资",index = 7)
    private String suggestsalary;
    @ExcelProperty(value = "审批状态",index = 8)
    private String state;
}
